<%--
  Created by IntelliJ IDEA.
  User: l
  Date: 2022/5/5
  Time: 20:29
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<%--<html>--%>
<head>
    <meta charset="UTF-8">
    <title>注册</title>
    <link rel="stylesheet" type="text/css" href="css/public.css"/>
    <link rel="stylesheet" type="text/css" href="css/login.css"/>
    <link rel="stylesheet" type="text/css" href="./css/wnl.css"/>
    <script src="js/jquery-1.12.4.min.js"></script>
    <script src="js/function.js"></script>
    <style>
        .reg p .error{
            display:  inline-block;
            color: red;
            font-size: 15px;
            margin-left: 10px;
        }
    </style>
</head>
<body><!-------------------reg-------------------------->
<div class="reg">
    <form action="http://localhost:8080/lyq/admin/register" method="post" onsubmit="return checkForm(this)" id="BOX"><h1><a href="index.html"><img src="img/temp/logo.png"></a></h1>
        <p>用户注册</p>
        <p><input type="text" name="username"  onfocus="FocusItem(this)" onblur="CheckItem(this)" placeholder="请输入用户名"><span ></span></p>
        <p><input type="text" name="name" value="" onfocus="FocusItem(this)" onblur="CheckItem(this)" placeholder="请输入用户姓名"><span></span></p>
        <p><input type="password" name="password" value=""  onfocus="FocusItem(this)" onblur="CheckItem(this)" placeholder="请输入密码"><span></span></p>
        <p><input type="password" name="pass" value="" onfocus="FocusItem(this)" onblur="CheckItem(this)" placeholder="请确认密码"><span></span></p>
        <p>
            <input style="width:20px;height: 20px" type="radio" name="sex" checked="checked" value="1"><span style="font-size: 20px">男</span>
            <input style="width:20px;height: 20px" type="radio" name="sex" value="0"><span style="font-size: 20px">女</span>
        </p>
        <p><input type="text" name="birthday" value="" readonly id="txt_calendar"  onfocus="showDate()" placeholder="请输入生日">
            <script src="js/183.js"></script>
            <span></span></p>
        <p><input type="text" name="email" onfocus="FocusItem(this)" onblur="CheckItem(this)"  placeholder="请输入邮箱"><span></span></p>
        <p><input type="text" name="mobile"  onfocus="FocusItem(this)" onblur="CheckItem(this)" placeholder="请输入手机号码"><span></span></p>
        <p><input type="text" name="address" value="" onfocus="FocusItem(this)" onblur="CheckItem(this)" placeholder="请确认收货地址"><span></span></p>
        <p><input class="code" type="text" name="verycode" value="" onfocus="FocusItem(this)" onblur="CheckItem(this)" placeholder="验证码">
            <img style="position: relative;height: 40px;top: 14px" src="${pageContext.request.contextPath}/getCode" alt="看不清，换一张" onclick="change(this)"><span></span></p>
        <script>
            function change(img) {
                img.src="${pageContext.request.contextPath}/getCode?"+new Date().getTime();
            }
        </script>
        <p><input type="submit" name="" value="注册"></p>
        <p class="txtL txt">完成此注册，即表明您同意了我们的<a href="#">
            <使用条款和隐私策略>
        </a></p>
        <p class="txt"><a href="login.jsp"><span></span>已有账号登录</a></p>
        <%--            <script src="js/183.js"></script>--%>

        <!--<a href="#" class="off"><img src="img/temp/off.png"></a>--></form>
</div>
</body>
</html>
